#import "../fragments/alert_note.fragment.graphql"

mutation updateAlertStatus($projectPath: ID!, $status: AlertManagementStatus!, $iid: String!) {
  updateAlertStatus(input: { iid: $iid, status: $status, projectPath: $projectPath }) {
    errors
    alert {
      id
      iid
      status
      endedAt
      notes {
        nodes {
          ...AlertNote
        }
      }
    }
  }
}
